projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
25c26e7
)
(calculate_ins_del_char_costs): Use proper frame's width.
author
Richard M. Stallman
<rms@gnu.org>
Wed, 10 Apr 1996 18:34:37 +0000
(18:34 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Wed, 10 Apr 1996 18:34:37 +0000
(18:34 +0000)
src/term.c
patch
|
blob
|
history
diff --git
a/src/term.c
b/src/term.c
index ed34f85e78d5777b4d9956fd9d04f9f526ec82cd..b81941aa5859b829e92c189eba534e6db2617488 100644
(file)
--- a/
src/term.c
+++ b/
src/term.c
@@
-1092,7
+1092,7
@@
calculate_ins_del_char_costs (frame)
/* Delete costs are at negative offsets */
p = &char_ins_del_cost (frame)[0];
- for (i = FRAME_WIDTH (
selected_
frame); --i >= 0;)
+ for (i = FRAME_WIDTH (frame); --i >= 0;)
*--p = (del_startup_cost += del_cost_per_char);
/* Doing nothing is free */